#include <iostream>
using namespace std;
class CRectangle 
{
	int *w, *h;
public:
	CRectangle (int, int);
	~CRectangle ();
	int area ();
};
CRectangle ::CRectangle (int a, int b)
{
	w= new int;
	h=new int;
	*w= a;
	*h= b;
}
CRectangle::~CRectangle()
{
	delete w;
	delete h;
}
int CRectangle::area ()
{
	return ((*w)*(*h));
}
int main ()
{
	CRectangle recta (3,4);
	cout <<"area a:"<<recta.area();
	return 0;
}